package co.yixiang.modules.sales.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author : gzlv 2021/6/27 15:49
 *
 */
@Data
@TableName("yx_store_after_sales_item")
public class StoreAfterSalesItem {

    /** 主键id */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 售后id */
    private Long storeAfterSalesId;

    /** 商品id */
    private Long productId;

    /** 退货东西的详情信息
     *  {"productId":6,"seckillId":0,"vipTruePrice":0.0,"combinationId":0,"costPrice":0.0,"trueStock":5,"truePrice":180.0,"type":"","cartNum":1,"productInfo":{"specType":0,"isIntegral":0,"otPrice":0.00,"userCollect":false,"description":"<p>XBFX</p>","isPostage":0,"isSub":0,"image_base":"http://saadminapi.chinacarefund.cn/file/pic/20240415161411564955.jpg","sales":6,"integral":0,"price":180.00,"userLike":false,"vipPrice":0.00,"storeName":"XBFX","id":6,"keyword":"XBFX","stock":4,"image":"http://saadminapi.chinacarefund.cn/file/pic/20240415161411564955.jpg","cost":0.00,"isGood":0,"unitName":"件","giveIntegral":0.00,"sort":0,"sliderImageArr":["http://saadminapi.chinacarefund.cn/file/pic/20240415161411564955.jpg"],"sliderImage":"http://saadminapi.chinacarefund.cn/file/pic/20240415161411564955.jpg","isShow":1,"postage":0.00,"cateId":"5","isSeckill":0,"merId":0,"ficti":0,"storeInfo":"","attrInfo":{"brokerage":0.00,"image":"http://saadminapi.chinacarefund.cn/file/pic/20240415161411564955.jpg","cost":0.00,"productId":6,"otPrice":0.00,"weight":0.00,"sales":5,"barCode":"","brokerageTwo":0.00,"volume":0.00,"integral":0,"price":180.00,"pinkStock":0,"seckillPrice":0.00,"unique":"51231b006acd4b3dbe7c74e3e9307295","id":11,"sku":"默认","stock":5,"pinkPrice":0.00,"seckillStock":0},"browse":5},"uid":1,"productAttrUnique":"51231b006acd4b3dbe7c74e3e9307295","unique":"51231b006acd4b3dbe7c74e3e9307295","bargainId":0,"id":33,"isReply":0}
     *  */
    private String cartInfo;

    /** 逻辑删除 */
    private Integer isDel;
}
